'use strict';

// npm run dev DO NOT read this file

const path = require('path')
const config = require(path.resolve(process.env.npm_config_wm_root, './webpack/config'))
config.utils.unshiftModules(module)

require('egg').startCluster({
  baseDir: __dirname,
  port: process.env.PORT || 7001, // default to 7001
  framework: config.base.appContainerPath,
}, () => {
  console.log('app started');
});
